package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 火车票推荐查询req
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-16
 */
@Data
@ApiModel(value="RecommendedTrainReq对象", description="火车票推荐查询req")
public class RecommendedTrainReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "铁路公司名称")
    private String railwayCorporationName;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "出发日期")
    private LocalDate queryDate;


}
